<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Navigator</title>
    <style>

    </style>

    <script type="text/javascript">
        window.onload = function () {
            console.log(window.navigator.userAgent);
            //console.log(location);
        }
    </script>
</head>
<body>

</body>
</html>